Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

array2

array2

(T 
type
, I 
type
:
integer, length0 I, length1 I, init Binary T I I)
 => 
array2 T
array(length0, length1) -- two-dimensional immutable array

array provides two-dimensional immutable arrays. These are actually
one-dimensional immutable arrays with an additional access function with
two index parameters.
Precondition
pre
  safety: length0 ≥ 0
  safety: length1 ≥ 0
  safety: length0.as_i64 *? length1.as_i64 >=? 0
  debug : length0.fits_in_i64
  debug : length1.fits_in_i64

Type Parameters

0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14